<table>
    <tbody>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="workflow"><g:message code="workflowStep.workflow" default="Workflow" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: workflowStepInstance, field: 'workflow', 'errors')}">
                <g:select name="workflow.id" from="${org.icress.fusion.wf.Workflow.list()}" optionKey="id" value="${workflowStepInstance?.workflow?.id}"  />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="serialNumber"><g:message code="workflowStep.serialNumber" default="Serial Number" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: workflowStepInstance, field: 'serialNumber', 'errors')}">
                <g:textField name="serialNumber" maxlength="2" value="${fieldValue(bean: workflowStepInstance, field: 'serialNumber')}" />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="name"><g:message code="workflowStep.name" default="Name" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: workflowStepInstance, field: 'name', 'errors')}">
                <g:textField name="name" maxlength="20" value="${fieldValue(bean: workflowStepInstance, field: 'name')}" />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="assignee"><g:message code="workflowStep.assignee" default="Assignee" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: workflowStepInstance, field: 'assignee', 'errors')}">
                <g:select name="assignee.id" from="${org.icress.fusion.admin.Group.list()}" optionKey="id" value="${workflowStepInstance?.assignee?.id}" noSelection="['null': '']" />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="lockRecord"><g:message code="workflowStep.lockRecord" default="Lock Record" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: workflowStepInstance, field: 'lockRecord', 'errors')}">
                <g:checkBox name="lockRecord" value="${workflowStepInstance?.lockRecord}" />
            </td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name">
                <label for="isBegin"><g:message code="workflowStep.isBegin" default="Begin?" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: workflowStepInstance, field: 'isBegin', 'errors')}">
                <g:checkBox name="isBegin" value="${workflowStepInstance?.isBegin}" />
            </td>
        </tr>
    
        <tr class="prop">
            <td valign="top" class="name">
                <label for="isEnd"><g:message code="workflowStep.isEnd" default="End?" />:</label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: workflowStepInstance, field: 'isEnd', 'errors')}">
                <g:checkBox name="isEnd" value="${workflowStepInstance?.isEnd}" />
            </td>
        </tr>
    
    </tbody>
</table>